/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-03-25
*/
package com.rzico.basics.mapper;

import com.rzico.base.BaseMapper;
import com.rzico.basics.entity.CouponCode;
import com.rzico.basics.model.CouponCodeVo;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <pre>
 *   我的卡券映射类
 * </pre>
 *
 * @author Rzico Boot
 * @version 1.0
 */
@Mapper
public interface CouponCodeMapper extends BaseMapper<CouponCode, String> {
   List<CouponCode> selectList(Map<String, Object> params);
   List<CouponCodeVo> selectVoList(Map<String, Object> params);
   List<CouponCodeVo> selectVoOne(Map<String, Object> params);
   List<CouponCodeVo> selectExchangeVoList(Map<String, Object> params);
   List<CouponCodeVo> selectExchangeUseVoList(Map<String, Object> params);

   int selectRowCount(Map<String, Object> params);
   Map<String,BigDecimal> selectSumCount(Map<String, Object> params);
   Map<String,BigDecimal> selectVirtualCount(Map<String, Object> params);
}
